package cn.edu.zut.service;

import cn.edu.zut.domin.BookLendInfo;

import java.util.List;

//添加注释
public interface IBookLendInfoService {
//读书编号插询信息
    public void saveBookLendInfo(BookLendInfo bookLendInfo);
    //保存书籍编号借阅信息
    public void deleteBookLendInfo(String bookId, String readerId);
    //删除书籍
    public void updateBookLendInfo(BookLendInfo bookLendInfo);
    //更新书籍信息
    public List<BookLendInfo> findAllBookLendInfo(int page, int size);
    //查找页数尺码
    public List<BookLendInfo> findBookLendInfoByReader(int page, int size, String readerId);
    //读者通过参数查找租借信息
    public List<BookLendInfo> findBookLendInfoByBook(int page, int size, String bookId);
    //通过书籍查看租借信息
    public List<BookLendInfo> getBookLendInfoByBookIdAndReaderId(int page, int size, String bookId, String readerId);
    //通过借阅信息和书籍号得到书籍租借信息

}
